package com.relytosoft.mizar.media.common.config.properties;


import com.relytosoft.mizar.media.common.constant.PropertyConstants;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 开阳安防系统音视频配置信息
 *
 * @author Jierry
 * @version 2022/4/2.
 */
@ConfigurationProperties(prefix = PropertyConstants.PROPERTY_MIZAR_MEDIA)
public class MizarMediaProperties {

    private String storeType;

    private String openApiUrl;

    private String appkey;

    private String appSecret;

    public String getStoreType() {
        return storeType;
    }

    public void setStoreType(String storeType) {
        this.storeType = storeType;
    }

    public String getOpenApiUrl() {
        return openApiUrl;
    }

    public void setOpenApiUrl(String openApiUrl) {
        this.openApiUrl = openApiUrl;
    }

    public String getAppkey() {
        return appkey;
    }

    public void setAppkey(String appkey) {
        this.appkey = appkey;
    }

    public String getAppSecret() {
        return appSecret;
    }

    public void setAppSecret(String appSecret) {
        this.appSecret = appSecret;
    }

    @Override
    public String toString() {
        return "MizarMediaProperties{" +
                "storeType='" + storeType + '\'' +
                ", openApiUrl='" + openApiUrl + '\'' +
                ", appkey='" + appkey + '\'' +
                ", appSecret='" + appSecret + '\'' +
                '}';
    }
}
